<!-- manager base layout -->
{% extends theme("base.html") %}
{% block meta %}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
{% endblock %}
{% block ext_css %}
    {{ super() }}
    <link href="{{ url_for('static',filename='css/register.css') }}" rel="stylesheet" type="text/css">
{% endblock %}
{% block content %}
    <div class="container">
        <form class="form-signin form-group" action="" method="post" role="from">
            {{ form.csrf_token }}
            <div class="input-group form-group has-success has-feedback">
                <label class="control-label sr-only" for="emailipt">Input email</label>
                {{ form.email(size=50,class="form-control") }}
                <span class="glyphicon glyphicon-user form-control-feedback red"></span>
                {% for error in form.errors.email %}
                    <label class="control-label " style="color: red">{{ error }}</label>
                {% endfor %}
            </div>
            <div class="input-group form-group has-warning has-feedback ">
                <label class="control-label sr-only" for="passwdipt">Input Password</label>
                {{ form.passwd(size=50,class="form-control" ) }}
                <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                {% for error in form.errors.passwd %}
                    <span style="color: red;">{{ error }}</span>
                {% endfor %}
            </div>
            <div class="form-group">
                <label>{{ form.remember_me }} 请记住我</label>
            </div>
            <div class="form-group">
                <button class="btn btn-lg btn-primary btn-block" type="submit">登 陆</button>
            </div>
        </form>
    </div>
{% endblock %}

